Skip to content

[6.2, stdlib] make _overrideLifetime() functions public #81225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

glessard
Copy link
Contributor

@glessard glessard commented Apr 30, 2025

This is a cherry-pick of #81224, reviewed by @meg-gupta.

These functions are discussed in the lifetime annotations pitch: swiftlang/swift-evolution#2750
They are necessary to implement functions returning non-escapable values, such as Data.bytes.

Addresses rdar://150400414

@glessard glessard added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.2 labels Apr 30, 2025
@glessard glessard requested review from eeckstein and a team as code owners April 30, 2025 23:37
@glessard
Copy link
Contributor Author

@swift-ci please test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 6.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant